home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1998 February
/
Macworld (1998-02).dmg
/
Shareware World
/
Comms & Internet
/
ShadowBot 1.23
/
Plugins
/
rand
< prev
next >
Wrap
Text File
|
1997-07-29
|
589b
|
20 lines
'Sample Plugin
'© John Bafford, 1996-1997
*COMMAND rand -1
*GLOBAL str string
*GLOBAL str lastnick no one
*GLOBAL int integer
*GLOBAL bool boolean
*GLOBAL int times 0
*ENDCONF
@SET string string of
@SET integer 123123
@SET boolean TRUE
@ADDONE times
SAY $NICK, $GLOBAL:lastnick. was the last person to use this plugin. This plugin has been used $GLOBAL:times. times since this bot has been up.
SAY $NICK, your random number is $RAND:int:1,8., and your random nick is $RAND:nick.
SAY Your globals are "$GLOBAL:string.", "$GLOBAL:integer.", and "$GLOBAL:boolean.".
@SET lastnick $NICK
@END